vtd: Enable pass-through translation for Dom0
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 9 Sep 2008 13:50:29 +0000 (14:50 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 9 Sep 2008 13:50:29 +0000 (14:50 +0100)
commit0b073ae43714c3b89fb04f589d363e4962287dfe
tree44a2a7429eba13b127719bf149164a4a2a6136e8
parent660036c0eb7f3c398f50c00194639f8eed79cd15
vtd: Enable pass-through translation for Dom0

If pass-through field in extended capability register is set, set
pass-through translation type for Dom0, that means DMA requests with
Untranslated addresses are processed as pass-through in Dom0, needn't
translate DMA requests through a multi-level page-table.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/drivers/passthrough/vtd/iommu.c